package org.lfh.wintersun.web.user.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lfh.wintersun.common.base.BaseEntity;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户信息(SysUser)表实体类
 *
 * @author lfh
 * @since 2024-10-10 15:35:10
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_user")
public class SysUserEntity extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 账号
     **/
    private String loginName;

    /**
     * 密码
     **/
    private String password;

}
